package com.google.code.jmarias.server.tcp;

import com.google.code.jmarias.common.NewTable;
import java.util.concurrent.atomic.AtomicInteger;

/**
 * Abstraktni trida, potomci teto tridy maji za ukol vytvaret instance jednotlivych
 * her daneho typu (marias, poker,...).
 * @author Ondrej Michal
 */
public abstract class AbstractGameFactory {

    public abstract AbstractGame createGame(NewTable table);

    public abstract int getMinPlayers();

    public abstract int getMaxPlayers();

    protected static AtomicInteger gameId = new AtomicInteger();

}
